	<div id="nav">
		当前位置: <a href="?action=default">管理首页</a> <span>&gt;</span> 数据库优化
	</div>

<!--列表-->
<form id="theform" name="theform" action="?action=user&op=dboptimize" method="post">
<div class="block">
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
	<th>&nbsp;</th>
	<th style="width: 35%;">数据表</th>
	<th style="width: 15%;">类型</th>
	<th style="width: 10%;">记录数</th>
	<th style="width: 10%;">数据</th>
	<th style="width: 10%;">索引</th>
	<th style="width: 10%;">碎片</th>
	</tr>
	<? foreach($dbtable as $k => $dbt){?>
	<tr <? if ($k%2 == 0){?>class="trbgcolor"<? }?>>
		<td><input type="checkbox" name="optimizetables[]" value="<?=$dbt[Name]?>" <?=$dbt[checked]?> /></td>
		<td><?=$dbt[Name]?></td>
		<td><?=$dbt[Engine]?></td>
		<td><?=$dbt[Rows]?></td>
		<td><?=$dbt[Data_length]?></td>
		<td><?=$dbt[Index_length]?></td>
		<td><?=$dbt[Data_free]?></td>
	</tr>
	<? }?>
	<tr>
		<td colspan="7"><? if ($dbtable){?>尺寸：<?=$totalsize?> 字节<? } else {?>没有需要优化的数据表<? }?></td>
	</tr>
</table>
</div>
	<div class="tbfootaction">
		<input type="checkbox" id="chkall" name="chkall" onclick="checkall(this.form, 'optimizetables')" />全选 <button value="true" type="submit" class="submit" name="optimizesubmit" title="开始优化">开始优化</button>
	</div>
</form>
<!--列表END-->